<div class="container d-gao-80 d-yincang-pc d-kuan d-clear">

</div>
{if $price > 0}
	{if $member.uid == $uid}
		<div class="d-yincang-pc">
			<div class="d-kuan d-neikuang-30 d-dibu d-beijing-baise ">
				<div class="row d-buhuanhang">
					<!--导航-->
					<div class="col-xs-5-0 d-gao-60 d-quxian-0">
						<a href="javascript:goBack();">
							<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $indexc} d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" >
								<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" height="26"/> <br />
								<span>返回</span>
							</div>
						</a>
						
					</div>
					<div class="col-xs-5-0  d-gao-60 d-quxian-0">
						<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }   {else}{/if}" onclick="location.href='##'">
							{if $_GET['s'] == MOD_DIR }
							<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
							{else}
							<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
							{/if}
							<span>推荐</span>
						</div-->
						
					</div>
					<div class="col-xs-5-0 d-gao-60">
						<div  class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $_GET['s'] == MOD_DIR } d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
							<a href="/index.php?s=member&app={MOD_DIR}&c=son&m=add&tid=&cid={$id}">
								<div style="background-color: {if $beijingyanse}{$beijingyanse}{else}#58b87e{/if};" class="d-wenzi-juzhong d-kuan-juzhong d-hanggao-50 d-yuanjiao-16 d-zitiyanse-bai d-fabu-40 d-wenzi-20">+</div>
							</a>
						</div>
						
					</div>
					<div class="col-xs-5-0 d-gao-60">
						<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
							
								{if $_GET['s'] == MOD_DIR }
								<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
								{else}
								<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
								{/if}
								<span>介绍</span>
							
						</div-->
						
					</div>
					<div class="col-xs-5-0 d-gao-60">
						<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}{/if}" onclick="location.href='##'">
							{if $_GET['s'] == MOD_DIR }
							<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
							{else}
							<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
							{/if}
							<span>我的</span>
						</div-->
						
					</div>
				</div>
			</div>
		</div>
	{else}
		{if $member && \Phpcmf\Service::M('buy', MOD_DIR)->is_buy($member.uid, $id)}
		    {if $daoqi['endtime'] < time()}
				<div class="d-yincang-pc">
					<div class="d-kuan d-neikuang-30 d-dibu d-beijing-baise ">
						<div class="row">
							<!--导航-->
							<div class="col-xs-4 d-gao-60 d-quxian-0">
								<div class="col-xs-6 d-gao-60 d-quxian-0">
								<a href="javascript:goBack();">
									<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $indexc} d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" >
										<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" height="26"/> <br />
										<span>返回</span>
									</div>
								</a>
								</div>
								
							</div>
							
							<div class="col-xs-4 d-gao-60">
								<div  class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
									<a href="{dr_url(MOD_DIR.'/buy/index', ['fid' => $ci->module['field']['price']['id'],'id'=> $id])}">
										<div style="background-color:  {if $beijingyanse}{$beijingyanse}{else}#58b87e{/if};" class="d-wenzi-juzhong d-kuan-juzhong d-hanggao-40 d-yuanjiao-16 d-zitiyanse-bai d-wenzi-12">
											{$price} 续费 {$tianshu} 天
										</div>
									</a>
								</div>
								
							</div>
							<div class="col-xs-4 d-gao-60">
								<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
									
										{if $_GET['s'] == MOD_DIR }
										<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
										{else}
										<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
										{/if}
										<span>介绍</span>
									
								</div-->
								
							</div>
							
						</div>
					</div>
				</div>
			{else}
				<div class="d-yincang-pc">
					<div class="d-kuan d-neikuang-30 d-dibu d-beijing-baise ">
						<div class="row">
							<!--导航-->
							<div class="col-xs-5 d-gao-60 d-quxian-0">
								<a href="javascript:goBack();">
									<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $indexc} d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" >
										<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" height="26"/> <br />
										<span>返回</span>
									</div>
								</a>
								
							</div>
							<div class="col-xs-5  d-gao-60 d-quxian-0">
								<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }   {else}{/if}" onclick="location.href='##'">
									{if $_GET['s'] == MOD_DIR }
									<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
									{else}
									<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
									{/if}
									<span>推荐</span>
								</div-->
								
							</div>
							<div class="col-xs-5 d-gao-60">
								<div  class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $_GET['s'] == MOD_DIR } d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
									<a href="/index.php?s=member&app={MOD_DIR}&c=son&m=add&tid=&cid={$id}">
										<div style="background-color:  {if $beijingyanse}{$beijingyanse}{else}#58b87e{/if};" class="d-wenzi-juzhong d-kuan-juzhong d-hanggao-50 d-yuanjiao-16 d-zitiyanse-bai d-fabu-40 d-wenzi-20">+</div>
									</a>
								</div>
								
							</div>
							<div class="col-xs-5 d-gao-60">
								<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
									
										{if $_GET['s'] == MOD_DIR }
										<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
										{else}
										<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
										{/if}
										<span>介绍</span>
									
								</div-->
								
							</div>
							<div class="col-xs-5 d-gao-60">
								
								<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}{/if}" onclick="location.href='##'">
									{if $_GET['s'] == MOD_DIR }
									<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
									{else}
									<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
									{/if}
									<span>我的</span>
								</div-->
								
							</div>
						</div>
					</div>
				</div>
			
			{/if}
		{else}
		    <div class="d-yincang-pc">
		    	<div class="d-kuan d-neikuang-30 d-dibu d-beijing-baise ">
		    		<div class="row">
		    			<!--导航-->
		    			<div class="col-xs-4 d-gao-60 d-quxian-0">
							<div class="col-xs-6 d-gao-60 d-quxian-0">
		    				<a href="javascript:goBack();">
		    					<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $indexc} d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" >
		    						<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" height="26"/> <br />
		    						<span>返回</span>
		    					</div>
		    				</a>
							</div>
		    				
		    			</div>
		    			
		    			<div class="col-xs-4 d-gao-60">
		    				<div  class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
		    					<a href="{dr_url(MOD_DIR.'/buy/index', ['fid' => $ci->module['field']['price']['id'],'id'=> $id])}">
		    						<div style="background-color:  {if $beijingyanse}{$beijingyanse}{else}#58b87e{/if};" class="d-wenzi-juzhong d-kuan-juzhong d-hanggao-40 d-yuanjiao-16 d-zitiyanse-bai d-wenzi-12">
										{$price} 入圈 {$tianshu} 天
									</div>
		    					</a>
		    				</div>
		    				
		    			</div>
		    			<div class="col-xs-4 d-gao-60">
		    				<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
		    						{if $_GET['s'] == MOD_DIR }
		    						<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
		    						{else}
		    						<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
		    						{/if}
		    						<span>介绍</span>
		    				</div-->
		    				
		    			</div>
		    			
		    		</div>
		    	</div>
		    </div>

			
		{/if}

	{/if}
{else}

<div class="d-yincang-pc">
	<div class="d-kuan d-neikuang-30 d-dibu d-beijing-baise ">
		<div class="row d-buhuanhang">
			<!--导航-->
			<div class="col-xs-5-0 d-gao-60 d-quxian-0">
				<a href="javascript:goBack();">
					<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $indexc} d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" >
						<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" height="26"/> <br />
						<span>返回</span>
					</div>
				</a>
				
			</div>
			<div class="col-xs-5-0  d-gao-60 d-quxian-0">
				<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }   {else}{/if}" onclick="location.href='##'">
					{if $_GET['s'] == MOD_DIR }
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
					{else}
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/tuijian3.png" height="26"/><br />
					{/if}
					<span>推荐</span>
				</div-->
				
			</div>
			<div class="col-xs-5-0 d-gao-60">
				<div  class="d-wenzi-juzhong d-wenzi-12 d-shang-10 {if $_GET['s'] == MOD_DIR } d-jiacu activea jiacu {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
					<a onclick="javascript:d_m_fabu();">
						<div style="background-color:  {if $beijingyanse}{$beijingyanse}{else}#58b87e{/if};" class="d-wenzi-juzhong d-kuan-juzhong d-hanggao-50 d-yuanjiao-16 d-zitiyanse-bai d-fabu-40 d-wenzi-20">+</div>
					</a>
				</div>
				
			</div>
			<div class="col-xs-5-0 d-gao-60">
				<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}d-zitiyanse-hui-ca{/if}" onclick="location.href='##'">
					
						{if $_GET['s'] == MOD_DIR }
						<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
						{else}
						<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/jieshao3.png" height="26"/><br />
						{/if}
						<span>介绍</span>
					
				</div-->
				
			</div>
			<div class="col-xs-5-0 d-gao-60">
				<div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}{/if}" onclick="javascript:d_yonghuzu();">
					{if $_GET['s'] == MOD_DIR }
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
					{else}
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
					{/if}
					<span>会员组</span>
				</div>
				<!--div class="d-wenzi-juzhong d-wenzi-12 d-shang-10 d-zitiyanse-hui-ca {if $_GET['s'] == MOD_DIR }  {else}{/if}" onclick="location.href='##'">
					{if $_GET['s'] == MOD_DIR }
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
					{else}
					<img class="" src="{HOME_THEME_PATH}{MOD_DIR}/img/wo3.png" height="26"/><br />
					{/if}
					<span>我的</span>
				</div-->
				
			</div>
		</div>
	</div>
</div>
{/if}
<style>

</style>